<?php
    include "../database.php";
    
    $story_id = $_POST["story_id"];    
    
    $query = "DELETE FROM story WHERE story_id = $story_id";
    $res = executeQuery($query);

    $data = array('success' => '1');

    echo json_encode($data);
?>